home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-03-19 | 2.7 KB | 181 lines | [TEXT/ttxt] |
- * CompuServe Script, for QuickMail™
- * © 1988-89 CE Software, Inc.
- *
- * Title: CompuServe.TYMNET.v2.01
- * Version: 2.01
- * Modification Date: 4/11/89
- *
- * Modification History:
- * • 2.01 - 4/11/89: Formating and Name Changes. Tested OK.
- *
- *
- * NOTES:
- *
- * This is a simple script for logging onto CompuServe. It assumes that
- * you are calling directly into the CompuServe network via Tymnet.
- *
- *
- * THIS SCRIPT ONLY WORKS IF YOU CALL THROUGH TYMNET.
- *
- *
- * This is called to log us into CompuServe
- :IN
- OOPS 120,FAILURE
- PAUSE 3
- TYPE a
- WAIT log in:
- TYPE CIS02^M
- WAIT User ID:
- TYPE «LOGID»;OLDF/GO:EMAIL^M
- WAIT Password:
- TYPE «PASSWORD»^M
- ALERT 1,IN2,Enter choice !
- ALERT 2,IN2,or HELp!
- ALERT 3,IN4,<CR>!
- ALERT 4,IN5,(Y or N)
- WAIT EasyPlex!
- :IN2
- ALERT 1,,
- ALERT 2,,
- TYPE Set Mode Command^M
- WAIT !
- TYPE Set Editor NoLine^M
- WAIT !
- TYPE Set Page Off^M
- WAIT !
- SUCCESS
- :IN4
- TYPE ^M
- WAIT EasyPlex!
- GOTO IN2
- :IN5
- TYPE Y^M
- WAIT EasyPlex!
- GOTO IN2
- *
- * This logs us off CompuServe
- *
- :BYE
- TYPE Bye^M
- ALERT 1,SUCCESS,NO CARRIER
- ALERT 2,B2,(Y or N)!
- ALERT 3,BYE,Host Name:
- ALERT 4,SUCCESS,log in:
- :B1
- PAUSE 10
- SUCCESS
- :B2
- TYPE Y^M
- GOTO B1
- *
- * These are called to send one binary file
- *
- :XSEND
- OOPS 60,FAILURE
- TYPE Upload/PROTO:XMODEM/TYPE:Binary^M
- WAIT completed.
- XMODEM Upload,FAILURE
- GOTO S1
- :XAGAIN
- OOPS 60,FAILURE
- TYPE SEND^M
- GOTO S1
- *
- * This is called to send one piece of mail
- *
- :SEND
- OOPS 60,FAILURE
- TYPE Compose^M
- WAIT Enter message.
- TYPE Attn: «NAME»^M
- DUMP ^J
- TYPE /EX^M
- :S1
- WAIT (Name or User ID):
- TYPE «ADDRESS»^M
- ALERT 2,S5,%
- ALERT 3,S6,SEND!
- WAIT Subject:
- ALERT 2,,
- ALERT 3,,
- TYPE «TOPIC»^M
- ALERT 1,S3,Your name:
- :S2
- WAIT (Y or N)!
- TYPE Y^M
- ALERT 1,S4,Press <CR>!
- WAIT EasyPlex!
- SUCCESS
- :S3
- TYPE «FROM»^M
- GOTO S2
- :S4
- TYPE ^M
- WAIT EasyPlex!
- SUCCESS
- :S5
- ALERT 2,,
- ALERT 3,,
- ERRORINADDRESS
- WAIT to omit:
- TYPE ^M
- WAIT SEND!
- :S6
- ALERT 2,,
- ALERT 3,,
- TYPE ^M
- WAIT EasyPlex!
- SUCCESS
- *
- * This is called to resend the last message to someone else. If there is
- * no label called "Again" in a script, it just calls Send for every file
- *
- :AGAIN
- OOPS 60,FAILURE
- TYPE EDIT^M
- WAIT [ Ready ]
- TYPE /T^M
- WAIT [ Top of file ]
- TYPE /N^M
- WAIT Attn:
- TYPE /R/Attn: «NAME»^M
- WAIT Attn:
- TYPE /EX^M
- WAIT SEND!
- TYPE SEND^M
- GOTO S1
- *
- * This is called to receive mail. It is called continually with increasing
- * values in «COUNT», until FAILURE occurs. You can put all reads into one
- * listing, if you wish
- *
- :RECEIVE
- OOPS 60,FAILURE
- TYPE Read all^M
- :R1
- ALERT 1,R10,EasyPlex!
- ALERT 2,R2,% Message is Binary
- BUFFER Action!
- RECEIVE Subj:,Attn:,From:,[,]
- TYPE Delete^M
- WAIT Delete
- GOTO R1
- :R2
- WAIT Action!
- TYPE Dow/Proto:XModem^M
- WAIT XMODEM transfer
- XMODEM Download,R3
- MAILFILE Subj:,Attn:,From:,[,]
- WAIT Action!
- TYPE Delete^M
- WAIT Delete
- GOTO R1
- :R3
- TYPE NOCOMMAND^M
- WAIT Action!
- TYPE Save^M
- WAIT Save
- GOTO R1
- :R10
- FAILURE
-